import SpaceDistanceMeasureComponent from "../../modules/mev/measure/SpaceDistanceMeasureComponent";
import SpaceAreaMeasureComponent from "../../modules/mev/measure/SpaceAreaMeasureComponent";
import GPSComponent from "../../modules/mev/GPSComponent";
import VisualAnalysisComponent from "../../modules/mev/measure/VisualAnalysisComponent";
import VisualRoamComponent from "../../modules/mev/measure/VisualRoamComponent";
import ProfileAnalysisComponent from "../../modules/mev/measure/ProfileAnalysisComponent";
import StreetViewComponent from "../../modules/mev/streetview/StreetViewComponent";
import PathCompontent from "../../modules/mev/shortestpath/PathCompontent";
import DrawComponent from "../../modules/mev/draw/DrawComponent";
import WindComponent from "../../modules/mev/wind/WindComponent";
import LayerComponent from "../../modules/mev/LayerManagement/LayerComponent";
import ToolbarAddDataComponent from "../../modules/mev/toolbar/ToolbarAddDataComponent";
import ToolbarRemoveDataComponent from "../../modules/mev/toolbar/ToolbarRemoveDataComponent";
import ViewPointComponent from "../../modules/mev/PointView/ViewPointComponent";
import TargetPositioning from "../../modules/mev/TargetPositioning/TargetPositioning";
import TaskComponent from "../../modules/task/TaskComponent";

const Mev = (function() {
    function Mev() {}

    Mev.Modules = [
        {
            name: "图层管理",
            imgSrc: "images/tuceng.png",
            functions: [
                {
                    name: "图层管理",
                    imgSrc: "images/tuceng.png",
                    component: LayerComponent
                }
            ]
        },
        {
            name: "信息采集",
            imgSrc: "images/jiejing.png",
            functions: [
                {
                    name: "信息采集",
                    imgSrc: "images/jiejing.png",
                    component: TaskComponent
                }
            ]
        },
        {
            name: "标注",
            imgSrc: "images/biaozhu.png",
            functions: [
                {
                    name: "标注",
                    imgSrc: "images/liangce.png",
                    component: DrawComponent
                }
            ]
        },
        {
            name: "空间分析",
            imgSrc: "images/space.png",
            functions: [
                {
                    name: "空间距离量测",
                    imgSrc: "images/juli.png",
                    component: SpaceDistanceMeasureComponent
                },
                {
                    name: "空间面积量测",
                    imgSrc: "images/mianji.png",
                    component: SpaceAreaMeasureComponent
                },
                {
                    name: "空间剖面分析",
                    imgSrc: "images/poumian.png",
                    component: ProfileAnalysisComponent
                },
                {
                    name: "可视域分析",
                    imgSrc: "images/keshi.png",
                    component: VisualAnalysisComponent
                },

                // {
                //     name: "路径分析",
                //     imgSrc: "images/lujing.png",
                //     component: PathCompontent
                // },
                // {
                //     name: "矢量场",
                //     imgSrc: "images/vector.png",
                //     component: WindComponent
                // },
                {
                    name: "视角漫游",
                    imgSrc: "images/manyou.png",
                    component: VisualRoamComponent
                }
            ]
        },
        {
            name: "GPS",
            imgSrc: "images/gps.png",
            functions: [
                {
                    name: "GPS",
                    imgSrc: "images/gps.png",
                    component: GPSComponent
                }
            ]
        }
        /*    {
                name: "视角漫游",
                imgSrc: "images/manyou.png",
                functions: [
                    {
                        name: "视角漫游",
                        imgSrc: "images/manyou.png",
                        component: VisualRoamComponent
                    }
                ]
            },*/
        /*
        {
            name: "卫星仿真",
            imgSrc: "images/weixing.png",
            functions: [
                {
                    name: "卫星仿真",
                    imgSrc: "images/weixing.png",
                    component: TheSatelliteSimulation
                }
            ]
        },

         */
        /* {
            name: "街景",
            imgSrc: "images/jiejing.png",
            functions: [
                {
                    name: "街景",
                    imgSrc: "images/jiejing.png",
                    component: StreetViewComponent
                }
            ]
        },*/
        /*
        {
            name: "目标定位",
            imgSrc: "images/targeting.png",
            functions: [
                {
                    name: "目标定位",
                    imgSrc: "images/targeting.png",
                    component: TargetPositioning
                }
            ]
        } */
        /*,
        {
            name: "路径分析",
            imgSrc: "images/lujing.png",
            functions: [
                {
                    name: "路径分析",
                    imgSrc: "images/lujing.png",
                    component: PathCompontent
                }
            ]
        },
        {
            name: "矢量场",
            imgSrc: "images/vector.png",
            functions: [
                {
                    name: "矢量场",
                    imgSrc: "images/vector.png",
                    component: WindComponent
                }
            ]
        }*/
    ];

    Mev.ToolbarModules = [
        {
            name: "shanchu",
            component: ToolbarRemoveDataComponent
        },
        {
            name: "xinzeng",
            component: ToolbarAddDataComponent
        },
        {
            name: "shidian",
            component: ViewPointComponent
        }
    ];

    return Mev;
})();

export default Mev;
